//parameter
$white:#fff;
$black:#000;
$red:#ff000;
$blue:#3399ff;
$green:#0c503e;
$gray:#f2f5f8;

@mixin border($bw,$bx,$cl,$br){
  border: $bw $bx $cl;
  border-radius:$br;
}
%omit{
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@mixin wah($width, $height, $lineH) {
  width: $width;
  height: $height;
  line-height: $lineH;
}
@mixin hal($height, $lineH) {
  height: $height;
  line-height: $lineH;
}
@mixin icons($imgUrl) {
  display: inline-block;
  background-image: url($imgUrl);
  background-repeat: no-repeat;
}
@mixin omit($width:100px){
  width:$width;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
@mixin omit2($height){
  height:$height;
  display: -webkit-box;
  white-space: normal;
  text-overflow: ellipsis;
  overflow : hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  word-break: break-all;
}
